package com.orderserver.service;

import com.orderserver.mapper.SaleMapper;
import com.orderserver.pojo.Sale;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author wjn.
 * @Date 2020/11/13 - 16:48.
 */
@Service
public class SaleService {
    @Resource
    private SaleMapper saleMapper;
    public List<Sale> getAllSale(){
       return saleMapper.getAll();
    }
}
